﻿using Basic.FormRemoteModel.UserRecord.Model;
using WeDonekRpc.Helper.Validate;

namespace Basic.FormGatewaryModular.Model.UserRecord
{
    public class UserRecordSet
    {
        [NumValidate("form.table.id.error", 1)]
        public long FormId { get; set; }

        [NullValidate("form.link.type.null")]
        [LenValidate("form.link.type.error", 1, 50)]
        public string LinkType { get; set; }

        [NumValidate("form.link.pk.error", 1)]
        public long LinkPK { get; set; }

        public RecordTable[] Table { get; set; }
    }
}
